package com.newway.back.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.newway.common.result.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("teaching")
public class TeachingEntity extends BaseEntity {

    private Integer id;

    private String title;

    private String category;

    private String introduction;

    private String videoUrl;

    private String content;

    private String level;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
